<?php 

session_start();

require_once "lib/model.inc";
require_once "lib/template.inc";

$stash[current_login] = $_SESSION[current_login];

if ($_GET[event_id]) {
    $stash[images] = get_images($_GET[event_id]);
} else {
    $stash[show_event_id_required_error] = 1;
}

echo get_template("view_images", $stash); 

?>

